﻿using System;
using System.ComponentModel;
using Xamarin.Forms;

namespace App1
{
    // Learn more about making custom code visible in the Xamarin.Forms previewer
    // by visiting https://aka.ms/xamarinforms-previewer
    [DesignTimeVisible(false)]
    public partial class MainPage : ContentPage
    {
        public MainPage()
        {
            InitializeComponent();

            //Image image = new Image();
            //image.Source = ImageSource.FromResource("App1.Images.5.jpg");
            //Content = image;

        }

        async private void Button_Clicked(object sender, EventArgs e)
        {
            label.Text += "1";

            await DisplayAlert("Внимание", "Заработало!!!", "Да!Да!Да!");
        }
    }
}
